<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo getSeoEn($cid);?>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/en/style/base.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/en/style/sys.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/en/style/master.css" />
<script type="text/javascript" src="__PUBLIC__/en/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/en/js/base.js"></script>
</head>

<body>
<!--header-->
<div class="headerm">
	<div class="w1100 header clearfix">
    	<div class="logo fl"><a href="<?php echo U('Index/en');?>"><img src="__PUBLIC__/en/images/logo.jpg" /></a></div>
        <div class="nav fl">
        	<ul>
            	<li <?php if($navId == 1): ?>class="cur"<?php endif; ?>><a href="<?php echo U('Index/en');?>">HOME</a></li>
                <li <?php if($navId == 2): ?>class="cur"<?php endif; ?>><a href="<?php echo U('Content/lists',array('cid'=>6));?>">ABOUT</a></li>
                <li <?php if($navId == 3): ?>class="cur"<?php endif; ?>><a href="<?php echo U('Content/lists',array('cid'=>2));?>">NEWS</a></li>
                <li <?php if($navId == 4): ?>class="cur"<?php endif; ?>><a href="#">PRODUCTS</a></li>
                <li <?php if($navId == 5): ?>class="cur"<?php endif; ?>><a href="#">CUSTOMER</a></li>
                <li <?php if($navId == 6): ?>class="cur"<?php endif; ?>><a href="#">DOWNLOAD</a></li>
                <li <?php if($navId == 7): ?>class="cur"<?php endif; ?>><a href="<?php echo U('Content/lists',array('cid'=>10));?>">CONTACT</a></li>
            </ul>
        </div>
        <div class="language fl"><a href="<?php echo U('Index/cn');?>">中</a>| <a href="<?php echo U('Index/en');?>" class="cur">EN</a></div>
    </div>
</div>
<!--header-->

<!--banner-->
<?php if($navId == 1): ?><div class="banner"><img src="__PUBLIC__/en/images/banner.jpg" width="1600" height="450" /></div>
<?php else: ?>
<div class="banner"><img src="__PUBLIC__/en/images/banner.jpg" width="1600" height="150" /></div><?php endif; ?>
<!--banner-->

<!--wrap-->
<div class="w1100 clearfix mt20">
	<div class="fl w175">
    	<div class="leftTit"><?php echo ($topClassArray['classname']); ?></div>
    	<div class="leftNav">
        	<ul>
            	<?php if(is_array($ClassMenuArray)): $i = 0; $__LIST__ = $ClassMenuArray;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$fo): $mod = ($i % 2 );++$i;?><li <?php if(substr_count($categoryArray['path'],$fo['path']) > 0): ?>class="cur"<?php endif; ?>><a href="<?php echo U('Content/lists',array('cid'=>$fo['id']));?>"><?php echo ($fo['classname']); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
    </div>
    
    <div class="fr rightWrap">
    	<div class="rightTitle"><?php echo ($categoryArray['classname']); ?></div>
    	<div class="rightContent">
        	<!--主体内容-->
            <h1 class="sys_nview_title"><?php echo (escapeshow($contentArray['title'])); ?></h1>
            <div class="sys_nview_other">Updatetime:<?php echo (getdatetime($contentArray['posttime'])); ?> <span class="sys_nview_s">|</span> Source:<?php echo (($contentArray['source'])?($contentArray['source']):''); ?> <span class="sys_nview_s">|</span> Hits:<?php echo ($contentArray['hits']); ?></div>
            <div class="sys_nview_content"><?php echo (escapeshow(editor($contentArray['content']),true)); ?></div>
            <?php if(!empty($contentArray['tag'])){ $tag=explode(',',$contentArray['tag']); ?>
            <div class="sys_tab">Tag:<?php if(is_array($tag)): foreach($tag as $key=>$foo): ?><span><?php echo ($foo); ?></span><?php endforeach; endif; ?></div>
            <?php } ?>
            
            <?php
 $relation=M("content")->where("id in (".$contentArray['relation_id'].") and id!=".$id."")->select(); if(is_array($relation)){ ?>
            <div class="sys_relation">
                <h2>Related reading</h2>
                <ul>
                    <?php if(is_array($relation)): $i = 0; $__LIST__ = $relation;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$row): $mod = ($i % 2 );++$i;?><li><em><?php echo (getdatetime($row['posttime'])); ?></em><a href="<?php echo U('show',array('id'=>$row['id']));?>"><?php echo (escapeshow($row['title'])); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <?php }?>
			<!--主体内容-->
        </div>
        
    </div>
</div>
<!--wrap-->
<!--footer-->
<div class="footerm">
	<p>Telephone:86-0755-29580912    Mobile Phone:15814083660    Fax:86-0755-29580631</p>
    <p>Address：1988, Yikang Business Building, Gaofeng Community, Dalang Street, Longhua New Dist., Shenzhen, Guangdong, China (Mainland)</p>
	<p>Copyritht © 2008-2014 Shenzhen Fuding New Energy Co., Ltd.. All Rights Reserved    Power by:<a href="http://www.dos999.com" target="_blank">Dos999.com</a></p>
</div>
<!--footer-->
</body>
</html>